package com.jeework.modules.sys.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.jeework.common.mapper.TimeStapDateSerializer;
import lombok.Data;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.util.Date;

@Data
public class DictType {
    private String dictName;
    private String dictType;
    private String isSys;
    private String status;
    private String remarks;
    private Date createDate;

    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @JsonSerialize(using = TimeStapDateSerializer.class)
    @Temporal(TemporalType.TIMESTAMP)
    private Date updateDate;
}
